// File Name: servo_tools.h
// Author: kukukukuku~
// Date: 2025-03-10

#ifndef __SERVO_TOOLS_H
#define __SERVO_TOOLS_H

#include "./Servo/inc/servo_macros.h"

/**
 * @brief   Servo计算角度对应的定时器通道值
 * @param   degree: 舵机角度
 * @retval  舵机角度对应的定时器通道值
 * @note    None
*/
uint16_t servo_pulse_calculate(const uint8_t degree);

#endif //__SERVO_TOOLS_H
